package com.flower.subject.infra.basic.service;

import com.flower.subject.entity.PageResult;
import com.flower.subject.infra.basic.entity.SubjectInfoEs;

/**
 * @author lavender
 * @version 1.0
 * @date 2024-07-26 13:38
 */
public interface SubjectEsService {

    /**
     * 新增
     * @param subjectInfoEs
     * @return
     */
    boolean insert(SubjectInfoEs subjectInfoEs);

    /**
     * 查询 返回分页对象
     * @param subjectInfoEs
     * @return
     */
    PageResult<SubjectInfoEs> querySubjectList(SubjectInfoEs subjectInfoEs);
}
